import React from 'react';
export default class TodoFooter extends React.Component{
    render(){
        return (
            <footer className="footer"> 
                <select value={this.props.nowShowing} onChange={this.props.filter}>
                    <option value="all">all</option>
                    <option value="active">active</option>
                    <option value="completed">completed</option>
                </select>
            </footer>
        );
    }
}